import requests


headers = {'Authorization':'Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC93eDdiZTlmNzc5NmYwMjRkNGIuZnJvbnQuYTIuZ2hvcmcuY25cL2FwaVwvZ2V0dG9rZW4iLCJpYXQiOjE2MDQzOTAyNzAsImV4cCI6MTYwNDYwNjI3MCwibmJmIjoxNjA0MzkwMjcwLCJqdGkiOiI0b1R0U1hCYTduRk5Ud3FIIiwic3ViIjozNjA0OTc0LCJwcnYiOiIyM2JkNWM4OTQ5ZjYwMGFkYjM5ZTcwMWM0MDA4NzJkYjdhNTk3NmY3In0.dEVgTS_Y_ge1ra29_cXIohvnS9t1Bhm5IUGNLoh5WQw'}
url = 'http://wxivfe0ss6k8dczn5d.a48.ghorg.cn/api/recently_read_chapter?book_id=664&noLoad=false&sid=go_on_read_remind'
res = requests.get(url=url,headers=headers)
# print(res.content.decode())

url1 = 'http://wxivfe0ss6k8dczn5d.a48.ghorg.cn/api/user_list'
res1 = requests.post(url=url1,headers=headers)
print(res1.text)

# d={
#         "error_code": 0,
#         "stu_info": [
#                 {
#                         "id": 2059,
#                         "name": "小白",
#                         "sex": "男",
#                         "age": 28,
#                         "addr": "河南省济源市北海大道32号",
#                         "grade": "天蝎座",
#                         "phone": "18378309272",
#                         "gold": 10896,
#                         "info":{
#                             "card":434345432,
#                             "bank_name":'中国银行'
#                         }
#
#                 },
#                 {
#                         "id": 2067,
#                         "name": "小黑",
#                         "sex": "男",
#                         "age": 28,
#                         "addr": "河南省济源市北海大道32号",
#                         "grade": "天蝎座",
#                         "phone": "12345678915",
#                         "gold": 100
#                 }
#         ]
# }
# import jsonpath
# res1 = jsonpath.jsonpath(d,'$..name')
# print(res1)